<h1>Listing PD Sessions</h1>
<h2>Upcoming PD Sessions - Please Sign Up!</h2>

<%= render :partial => "pdtable_start" %>

  <% @attending.each do |pdsession| %>
		<%= render :partial => "pdsession_summary", :locals => { :pdsession => pdsession, :link_text => "Drop Out", :link_action => "destroy" }%>
  <% end %>

  <% @notattending.each do |pdsession| %>
  		<%= render :partial => "pdsession_summary", :locals => { :pdsession => pdsession, :link_text => "Sign Up", :link_action => "create" }%>
  <% end %>

<%= render :partial => "pdtable_end" %>

<br />